package com.lyn.log.log4j2;

import com.jfinal.log.ILogFactory;
import com.jfinal.log.Log;


/**
 * @author Lynmonade
 * @create 2019-01-27 15:02
 */
public class Slf4jLogFactory implements ILogFactory {
    @Override
    public Log getLog(Class<?> clazz) {
        return new Slf4jLogger(clazz);
    }

    @Override
    public Log getLog(String name) {
        return new Slf4jLogger(name);
    }
}
